//
//  ModelViewController.m
//  RAC
//
//  Created by apple on 16/5/9.
//  Copyright © 2016年 apple. All rights reserved.
//

#import "ModelViewController.h"

@interface ModelViewController ()

@property (nonatomic,assign)NSInteger age;

@end

@implementation ModelViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    self.age = 10;
}


- (IBAction)btnClick:(id)sender
{
    
    self.age = 20;
    
    if (self.delegateSignal) {
        [self.delegateSignal sendNext:nil];
    }    
}

@end
